package com.woniuxy.gateway.service;

import com.woniuxy.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("security")
public interface SecurityService {
    @PostMapping("user/login")
    public ResponseResult<?> login(@RequestParam("account") String account, @RequestParam("password") String password);
}
